﻿using System;
using System.Collections.Generic;
using System.Text;
using LibraryONTrack.Common;

namespace LibraryONTrack.dto
{
	public class Person : DTOBase
	{
		public long Id { get; set; }
		public string Name { get; set; }
		
		public Person()
		{
			Id = NullValues.NullLong;
			Name = NullValues.NullString;
		}

		public Person(long id, string name)
		{
			Id = id;
			Name = name;
		}

		public override string ToString()
		{
			return Name;			
		}
	}
}
